Rows and Columns Formatting Tab

Cube View formatting controls how Cube Views display. Most of the format settings transfer to Excel and can be overridden with standard Excel styles. The formatting also transfers to reports where the Cube View is used in a data adapter.

Cube View formatting can be selected for the entire Cube View or for specific rows, columns, headers, and individual cells. The formatting options enable number formats, percentage signs, scaling, currency symbols, colors, fonts, and font sizes to be unique to business needs. You can label row and column sets to support Cube View maintenance when editing, formatting, and applying calculations.

In the Cube View, select the Rows and Columns slider. Select an individual cell or header and then select the Formatting tab to view the toolbar options for data explorer, Excel, and report formats.

The icons in the toolbar include the most common formatting properties. Each icon coincides with the cell selected in the Rows and Columns slider. For example, if a column header is selected, the formatting changes made only affect the selected column header.

1. Selector 2. Data explorer formatting options 3. Excel export formatting options 4. Report formatting options 5. Advanced formatting options 6. Formatting tab

  1. Selector

  2. Data explorer formatting options

  3. Excel export formatting options

  4. Report formatting options

  5. Advanced formatting options

  6. Formatting tab

Set Up Basic Formatting for a Cube View

  1. Select a Cube View and select the Rows and Columns slider.

  2. Select the row, column, or cell to edit.

    NOTE: Select the Default cell to update the default settings for all headers and cells.

  3. Select the Formatting tab.

  4. Select options to change the header and cell format settings for the data explorer, Excel, and report output types.

Data Explorer

The formatting settings available for data explorer are organized in the following groups:

  • Text: Font, color, size, bold, and italic settings. When you select a cell, the following formatting settings become available in the Text drop-down menu: Number Format, Zero Offset for Formatting, Scale, Flip Sign, Show Percent Sign, and Show Currency.

  • Border: Background color and gridline color

  • Column: Column width and visibility.

There are different settings available for the headers and cells.

Data explorer header settings display Text, Border, and Column options

Data explorer cell settings include Text and Border options

Excel

The formatting settings available are organized in the following groups:

  • Text: Text Color, Horizontal Alignment, Vertical Alignment, Indent Level, and Wrap settings. When you select a cell, the following formatting settings become available in the Text drop-down menu: Number Format and Use Scale.
  • Border: The color and line styles of the cell borders and background color.

  • Column: Column Width setting.

There are different settings available for the headers and cells.

Excel header formatting settings are Text, Border, and Column

Excel cell formatting options are Text and Border

Report

The formatting settings available are organized in the following groups.

  • Text: Text Color, Text Alignment, Text Size, and Underline settings. When you select a cell, the following formatting settings become available in the Text drop-down menu: Negative Text Color, No Data Number Format, Use Numeric Binding, and Numeric Binding Format.
  • Border: Background color and cell borders.

  • Lines: Settings for padding, color, and thickness for the top and bottom lines of the first and last rows.

  • Column: Column Width setting.

There are different settings available for the headers and cells.

Report header formatting properties are Text, Border, Lines, and Column

Report cell formatting properties are Text, Border, and Lines

Apply Scaling, Indents, and Currencies

Scale

To use the Scale setting, open the data explorer Text drop-down menu. You can also apply it to Excel and report formatting.

The Text drop-down menu displays the Scale option outlined

Indent Level

To view the Indent Level setting, select the Formatting tab for a row or column header.

The Formatting tab is selected and the Indent Level property is outlined

Show currency

To view the Show Currency setting, open the data explorer Text drop-down menu.

The Text drop-down menu is selected and the Show Currency option at the bottom is highlighted and selected

Header Format Properties

The formatting properties for a Cube View header include default, row, and column headers. These properties are in the Rows and Columns slider. Not all properties are available for each header.

  1. In the Rows and Columns slider, select the Default cell to apply the formatting settings to all Cube View headers.

    the Rows and Columns slider is selected and the Default cell outlined

    NOTE: You can select an individual row or column header instead if you want to edit the settings for a specific header.

  2. In the Formatting tab, select the ellipsis to the right of Header Format.

  3. In the Header Format dialog box, select the Format button to modify options. The Excel section only affects how the Cube View data display in Excel.

Review the following Header Format properties:

Property Description
General
Custom Parameters

Select the ellipsis to select and assign a custom parameter, such as a Cube View style.

RowExpansionMode This controls the expansion of nested rows. This determines how rows are displayed in the data explorer grid. The default setting is False.
ShowDimensionImages

This determines if dimension icons display in the data explorer grid row and column headers. The default setting displays the dimension icons. Set to False to hide dimension icons.

HeaderWrapText

When set to False, column and row header text does not wrap. When set to True, column and row header text displays as wrapped. This applies to Default Cube Views and works with Header Overrides.

NOTE: ColumnWidth and Row Header Width must be set from the Header Size settings menu for row header text to wrap

IsColumnVisible

This determines the visibility of specific columns. Set to False to hide columns. Set this property at run-time with a parameter to show and hide detail.

ColumnWidth Enter a numerical value for column width. If the header label exceeds the column width, the header will automatically wrap the text.
ColumnHeaderWrapText

When set to False, column header text does not wrap. When set to True, column header text displays as wrapped. This applies to individual column headers and works with Header Overrides. ColumnWidth must be set for Column Headers and header text to wrap.

MergeAndCenterColumnHeaders

When set to False, column headers are left justified. When set to True, column headers are centered. This applies to default Cube Views or individual column formatting in data explorer and reports.

NOTE: MergeAndCenterColumnHeaders does not apply to Header Overrides.

IsRowVisible

Set to False to hide specific rows. Set this property at run-time with a parameter to show and hide detail.

TreeExpansionLevel1-4

You can automatically expand up to four nested rows in data explorer. Enter the number of rows to be expanded from 0 – 4 in the corresponding TreeExpansionLevel. See TreeExpansionLevel Property.

RowHeaderWrapText

When set to False, row header text does not wrap. When set to True, row header text displays as wrapped. This applies to individual row headers and works with Header Overrides.

NOTE: Row Header Width must be set from the Header Size settings menu for row header text to wrap.

Font and Colors

Font and color options are available. For the FontFamily, any .Net font installed on the Excel client operating system is included in the font family. The FontSize default value is 11.

Excel

ExcelMaxOutlineLevelOnRows and ExcelMaxOutlineLevelOnCols

Enter the number of outline levels needed. Up to six outline levels can be used for the creation of collapsible and expandable Excel groups of rows or columns when exporting.

This relates to the Excel Indent Level setting that is applied in the header format on each row or column. The number entered here should equal the highest setting applied on the rows or columns.

ExcelExpandedOutlineLevelOnRows and ExcelExpandedOutlineLevelOnCols

When a Cube View is exported to Excel, these settings control which outline level the file is initially opened to. The default value is 1, which fully collapses each grouping.

ExcelColumnWidth

The default Excel column width in pixels unless overridden in columns.

ExcelOutlineLevelCol and ExcelOutlineLevel

The default Excel outline level for rows and columns is 1 unless specified here or overridden in rows or columns.

ExcelHorizontalAlignment and ExcelVerticalAlignment

Control how the data is aligned horizontally and vertically using the Excel standard alignment options.

ExcelIndentLevel

The number of characters to indent the text or value.

ExcelWrapText

This determines if text like headers will be wrapped in the output.

Reporting
ReportSeparateBandPerCubeViewRow

This setting optimizes performance for large Cube Views that will be dynamically generating a data explorer report with many row definitions with unique formatting.

The Default setting is (Use Default), which is a conditional setting. This applies when a data explorer report is run from a Cube View and creates background temporary database tables in memory, one for each row name in the Cube View. If there are more than 100 row definitions, fewer report bands are created and rows with the same formatting are combined. Report bands are separate, temporary in-memory tables.

Set this property to True to create a separate table per Cube View row definition. This may affect performance with hundreds or thousands of row definitions. Set this property to False to combine row definitions of the same format into fewer temporary in-memory tables.

ReportColumnWidth and ReportRowHeight

This sets the width of a column or the height of a row by number of pixels.

ReportTopLinesOnFirstRowOnly and ReportBottomLinesOnLastRowOnly

If the row definition results in multiple rows, a top line is placed on the first line only or a bottom line will be placed on the last line only.

ReportBandHeightBeforeFirstRow and ReportBandHeightAfterLastRow

This enables a number to be entered in pixels to add before the first row or after the last row of where a row definition starts.

NOTE: The top and bottom report bands used for lines and spacing are removed for suppressed rows or if there are no data rows.

ReportRowPageBreak This applies a page break where appropriate for this row.
ReportRowContentTop

This specifies the vertical position of the row relative to the row above it. If this is set to zero, the top of the row immediately follows the row above it with no vertical spacing.

ReportRowContentHeight The height of the row in pixels.
ReportRowPaddingTop and ReportRowPaddingBottom

Control the extra space above and below a row.

ReportFontSize

This is the point size of the font on the report if it differs from the font size displayed in data explorer.

ReportTextAllignment

This controls how data is aligned in a report.

ReportUnderline This creates a simple underline of report values.
Top Lines and Bottom Lines

These are used for underlines and overlines.

The Line1 and Line2 options can be used together to create a double underline or double overline.

For the lines to have a small gap between each column, use the ReportBottomLine1PaddingLeft property or one similar.

Borders

This enables a line to be drawn around the border of a cell.

TreeExpansionLevel Property

For TreeExpansionLevel to work, RowExpansionMode from the Default Header must be set to Use Default. Using Collapse All or Expand All overrides this setting.

RowExpansionMode setting is outlined and TreeExpansionLevels 1-4 are outlined below it

TreeExpansionLevels are tied to the Member Filter dimension types in the Designer tab and require a Tree Member Expansion.

The Member Filter tab displays and the Member Filter applied to Account is A#69000.TreeDescendantsInclusiveR

NOTE: Default settings are overwritten by Row Overrides when set.

Set the TreeExpansionLevel to zero to collapse all nested rows.

The TreeExpansionLevel1 property is outlined and set to zero

All nested rows are collapsed

Set the TreeExpansionLevel to one to expand the first level of nested rows.

The TreeExpansionLevel1 property is outlined and set to 1

The first level of nested rows are expanded

Set the TreeExpansionLevel to two to expand the first two levels of nested rows.

The TreeExpansionLevel1 property is outlined and set to two

The first two levels of nested rows are expanded

Set the TreeExpansionLevel to three to expand the first three levels of nested rows.

The TreeExpansionLevel1 property is outlined and set to three

The first three levels of nested rows are expanded

This example shows the TreeExpansionLevel 1, 2, and 3 expanded.

 TreeExpansionLevels 1 through three are outlined and all set to one

This example shows the TreeExpansionLevel 1, 2, and 3 expanded.

Cell Format Properties

The format properties for a cell include font, colors, background, and grid lines.

  1. In the Rows and Columns slider, select the Default cell to apply the formatting settings to all Cube View cells.

    the Rows and Columns slider is selected and the Default cell outlined

    NOTE: You can select an individual cell instead if you want to edit the settings for a specific cell.

  1. In the Formatting tab, select the ellipsis to the right of Cell Format.

  2. In the Cell Format dialog box, select the Format button to modify options. The Excel section only affects how the Cube View data display in Excel.

Review the following Cell Format properties:

Property Description
General
Custom Parameters

Select the ellipsis to select and assign a custom parameter to the cell, such as a Cube View style.

NumberFormat

Uses the Microsoft .NET standard number format syntax, which allows different formats to be specified for positive and negative numbers separated by a semi-colon. This is not available in Excel. Review the following examples:

#,### ;(#,###);0 will show the number using a comma as the thousands separator, no degrees of precision, parenthesis around negative numbers, and a zero for null values. The pattern of this format choice is Positive;Negative;Null values with each separated by a semicolon. There is a space after the first #,###. This enables the numbers to line up with negative numbers due to the parenthesis.

#,###.#% ;(#,###.#%);” – “ will show a percentage with a comma as the thousands separator, one degree of precision, negative percentages in parenthesis, and a dash for null values.

N2 will show the data as a numeric value with two degrees of precision. Negative numbers display with a minus sign.

P1 will show a percentage with one degree of precision.

ZeroOffsetForFormatting

This is related to NegativeTextColor, which is determined by whether a number is less than zero. For example, if sales were less than 100, rather than 0, they could be displayed in red. A valid setting is any number other than zero.

Scale

The valid values for the scale are -12 to +12. For example, to show a number in thousands, the scale should equal three, or for millions, the scale should equal six.

FlipSign This flips the display value between positive and negative. This is useful for reports where certain expense numbers are stored as positive or negative and need to be shown on the report.
ShowPercentageSign

This determines whether a percentage sign is displayed.

ShowCurrency

This shows the currency code, for example, EUR. This is not available in Excel.

FontFamily Any .Net font installed on the Excel client operating system is included in the font family.
FontSize The default font size is 11.
NegativeTextColor, WritableBackgroundColor, and SelectedGridLinesColor

These can optionally override the format for negative numbers, writeable data cells, and selected data cells.

Excel
ExcelNumberFormat

Apply this to control how numbers display when exporting to Excel. A number format can have up to four sections of code separated by semicolons. These code sections define the format for positive numbers, negative numbers, zero values, and text:<POSITIVE>;<NEGATIVE>;<ZERO>;<TEXT>

You can include an underscore to create a space after the trailing positive number, and you can control the color of the negative number: #,##0.00_);[Red](#,##0.00);0.00

NOTE: ExcelNumberFormat settings [#,##0,,.0 ;[Red](#,##0,,.0)] on a Cube View scale numbers when the Cube View is exported to Excel.

ExcelUseScale This determines if Excel uses the scale property.
Reporting
ReportNoDataNumberFormat By default, NoData (null) cells display as empty in the data explorer and as zeros in a report. However, any .NET number format text can be specified to format those zero values differently in the report. For example, you can type NODATA in the setting. To display empty text, you can type # in the setting. If the number format setting of the cell already does something with null values, this property does not need a value.
ReportUseNumericBinding and ReportNumericBindingFormat

These are related to the export of dashboard reports to Excel, so numbers can be rendered in the proper number format rather than display in Excel as text. Set ReportUseNumericBinding to True to use numeric amounts instead of OneStream text-based formatting when generating a Cube View report.

The ReportNumericBindingFormat setting must follow a specific syntax. This number format is related to the report engine,. Excel standard number formats are not used. For example, this represents a number format for positive, negative, and no values:{0:#,# ;(#,#);" - "}

This generates numbers instead of text when exporting a dashboard report to Excel. However, it cannot be used for calculation status and annotation data cells because those features cannot be represented as numbers. In those cases, use column overrides to display the values as text.

NOTE: For position, font, color, top line, bottom line, and border properties, see Header Format Properties.